package org.libcsp.generic.api.request;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Collection;

@Getter
@Setter
@ToString
public class PageCommonRequest<T> extends PageRequest{
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private T type;
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private T id;
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private Collection<T> ids;
}
